package com.yf.stat.modules.course.dto.response;


import com.yf.ability.excel.annotation.ExcelField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
* <p>
* 用户学习统计响应类
* </p>
*
* @author 聪明笨狗
* @since 2020-09-11 11:10
*/
@Data
@ApiModel(value="用户学习统计响应类", description="用户学习统计响应类")
public class StatCourseLearnDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "ID", required=true)
    private String id;

    @ApiModelProperty(value = "用户ID", required=true)
    private String userId;

    @ExcelField(title = "账号")
    @ApiModelProperty(value = "账号", required=true)
    private String userName;

    @ExcelField(title = "姓名")
    @ApiModelProperty(value = "姓名", required=true)
    private String realName;

    @ExcelField(title = "已学完课件", sort = 1)
    @ApiModelProperty(value = "已学课件")
    private Integer learnFile;

    @ExcelField(title = "总课件数", sort = 2)
    @ApiModelProperty(value = "总课件数")
    private Integer totalFile;

    @ExcelField(title = "总学习时长/分钟", sort = 4)
    @ApiModelProperty(value = "总学习时长")
    private Integer totalMin;

    @ExcelField(title = "学习状态", filter = "null=未学习,0=学习中,1=已学完", sort = 3)
    @ApiModelProperty(value = "学习状态")
    private Integer state;

}
